package com.hamu.service;

import com.hamu.pojo.Article;

import java.util.List;

public interface ArticleTagService {
    void addTagToArticle(Integer articleId,  List<Integer> tagIds);

    void removeTagFromArticle(Integer articleId,  List<Integer> tagIds);

    void removeAllTagsFromArticle(Integer articleId);

    List<Article> getArticlesByTag(List<String> tagNames, List<Integer> tagIds);

    void updateArticleTags(Integer articleId, List<Integer> tagIds);
}
